/**
 * Created by Administrator on 2016/7/26.
 */
"use strict";
swan_pc
    .factory('GetAccountInfo',function($resource){
        return $resource('api/account',{
            'get':{
                method: 'GET'
            }
        })
    })
    .factory('GetOrganizationInfo',function($resource){
        return $resource('api/organizations/:id',{id:"@id"},{
            'get':{
                method: 'GET'
            }
        })
    });